<?php
include_once("../configs/admin.config.inc.php");	//--> admin global var
include_once("db.inc.php");							//--> db global var
include_once("Index.php");						//--> Index

$objIndex 	= new Index(DEFAULT_LAN, 0);	//--> Index


$objIndex->createBookIndex('id, name FROM books', 'index_book');
$objIndex->createBookIndex('id, name FROM audio', 'index_audio');
$objIndex->createBookIndex('id, name FROM vedio', 'index_vedio');
$objIndex->createBookIndex('id, name FROM pic', 'index_pic');
$objIndex->createBookIndex('id, title FROM info', 'index_joke', ' and classid in(16,17,18,47,48,49)');
$objIndex->createBookIndex('id, title FROM info', 'index_news', ' and classid in(5,62,63,64)');

?>